/***************************************************************************
 * This program is the example of how to use the library control the rudder
 * The author:Zhang YongChang
 * The Date:2012-2-20
 * CopyRight @ robot loving team.
 ***************************************************************************/
#include "rudder.h"

int main(int argc, char **argv) {
	using namespace robot;

	//initial the device
	Serialport serial_port("COM3");
	Dashboard board(serial_port);
	Rudder rudder1(1, board);

	//rudder rotate test
	rudder1.rotate(100, 100);

	return 0;
}
